package com.zjj.day4.person;

/**
 * @author zhoujunjie
 * @desc TODO
 * @date 2025/4/22
 */
public class Test {
    public static void main(String[] args) {
        Employee employee = new Employee("张三", "安徽", "001", 5000, 3);
        Manager manager = new Manager("李四", "安徽", "002", 8000, 5, "经理");

        System.out.println("员工初始信息: " + employee);
        System.out.println("经理初始信息: " + manager);

        employee.raiseSalary();
        manager.raiseSalary();

        System.out.println("员工涨薪后信息: " + employee);
        System.out.println("经理涨薪后信息: " + manager);
    }
}